package com.lsege.service.backstage;

import com.lsege.entity.backstage.BakeOrder;
import com.lsege.mapper.backstage.BakeOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/7/7.
 */
@Service
public class BakeOrderServiceImpl implements BakeOrderService {
    @Autowired
    BakeOrderMapper bakeOrderMapper;
    @Override
    public List<BakeOrder> queryBakeOrderList() {
        return bakeOrderMapper.queryBakeOrderList();
    }

    @Override
    public Long queryBakeOrderCount() {
        return bakeOrderMapper.queryBakeOrderCount();
    }
}
